﻿using SHKF.B2C.YouZanYun.Model.Dto.Order.Msg.info.order_info;
using System;
using System.Collections.Generic;
using System.Text; 

namespace SHKF.B2C.YouZanYun.Model.Dto.Order.Msg.info
{
    /// <summary>
    /// 交易明细详情
    /// </summary>
    public class Order_Info
    {
        /// <summary>
        /// 关闭类型 
        /// 0:未关闭; 
        /// 1:过期关闭; 
        /// 2:标记退款; 
        /// 3:订单取消; 
        /// 4:买家取消; 
        /// 5:卖家取消; 
        /// 6:部分退款; 
        /// 10:无法联系上买家; 
        /// 11:买家误拍或重拍了; 
        /// 12:买家无诚意完成交易; 
        /// 13:已通过银行线下汇款; 
        /// 14:已通过同城见面交易; 
        /// 15:已通过货到付款交易; 
        /// 16:已通过网上银行直接汇款; 
        /// 17:已经缺货无法交易
        /// </summary>
        public string close_type { get; set; }

        /// <summary>
        /// 订单确认时间（多人拼团成团）
        /// </summary>
        public string confirm_time { get; set; }

        /// <summary>
        /// 订单发货时间（当所有商品发货后才会更新）
        /// </summary>
        public string consign_time { get; set; }

        /// <summary>
        /// 订单创建时间
        /// </summary>
        public DateTime created { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime update_time { get; set; }

        /// <summary>
        /// 订单过期时间（未付款将自动关单）
        /// </summary>
        public string expired_time { get; set; }

        /// <summary>
        /// 物流类型 0:快递发货; 1:到店自提; 2:同城配送; 9:无需发货
        /// </summary>
        public decimal express_type { get; set; }

        /// <summary>
        /// 是否零售订单
        /// </summary>
        public bool is_retail_order { get; set; }

        /// <summary>
        /// 网点id
        /// </summary>
        public decimal offline_id { get; set; }

        /// <summary>
        /// 订单扩展字段
        /// </summary>
        public Order_Extra order_extra { get; set; }

        /// <summary>
        /// 订单信息打标
        /// </summary>
        public Order_Tags order_tags { get; set; }

        /// <summary>
        /// 订单支付时间
        /// </summary>
        public DateTime pay_time { get; set; }

        /// <summary>
        /// 支付类型
        /// </summary>
        public int pay_type { get; set; }

        /// <summary>
        /// 退款状态 0:未退款; 1:部分退款中; 2:部分退款成功; 11:全额退款中; 12:全额退款成功
        /// </summary>
        public int refund_state { get; set; }

        /// <summary>
        /// 主订单类型
        /// </summary>
        public int type { get; set; }

    }
}
